<!DOCTYPE html>
<html th:replace="~{layouts/layout :: layout(~{::title}, ~{::#main_content})}" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>validator</title>
</head>
<body>
<div id="main_content">

<div class="well">
	<div class="row">
		<div class="col-lg-6">

		<form action="/study/post_validator" role="form" method="post" class="form-horizontal">

		<div class="form-group">
			<label class="control-label col-lg-4" for="age">姓名</label>
			<div class="col-lg-8">
				<input type="text"  th:value="${people.name}" placeholder="name" id="py" value="" class="form-control" name="name" />
			</div>
		</div>

	  <div class="form-group">
		<label class="control-label col-lg-4" for="age">年龄</label>
		<div class="col-lg-8">
		<input type="text"  th:value="${people.age}" placeholder="age in 1-120" id="age" value="" class="form-control" name="age" />
		</div>
	  </div>

		<div class="form-group">
			<label class="control-label col-lg-4" for="age">手机号</label>
			<div class="col-lg-8">
				<input type="text"  th:value="${people.phone}" placeholder="必须为手机号" id="phone" value="" class="form-control" name="phone" />
			</div>
		</div>
		<input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/>

		<button class="btn btn-primary" type="submit">查询</button>
	</form>
	</div>
	</div>
</div>


</div>
</body>
</html>